<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="../css/common/weui.css"/>
    <link rel="stylesheet" href="../css/common/weuix.css"/>
    <link rel="stylesheet" href="../css/common/common.css"/>
    <script src="../js/common/utils/zepto.min.js"></script>
    <script src="../js/common/utils/zepto.weui.js"></script>
    <script src="../js/common/common.js"></script>
	<script src="../js/shop_prescription_medicine.js"></script>
	<script src="../js/common/utils/template-web.js"></script>
    <script type="text/javascript">
       
    </script>

</head>
<body ontouchstart>
	<!-- 页面头部 -->
	<div class="medicine-header-container header-container">
		<div class="weui-cell">
			<div class="weui-cell__bd">
			   <select class="select" name="select" id="category_select">
				   <option value="0" selected="">全部订单</option>
				   <option value="1">自取订单</option>
				   <option value="2">配送订单</option>
			   </select>
			</div>
			<div class="weui-cell__ft" style="font-size: 0">
				<span style="vertical-align:middle; font-size: 16px;">筛选</span>
				<!-- <span class="icon icon-83" style="margin-left: 5px;margin-right: 5px;"></span> -->
			</div>
		</div>
	</div>
	
	<!-- 页面内容 -->
	<div class="medicine-body-container body-container">
		<div class="weui-panel__bd" id="shop_medicine_list">
			
		</div>
	</div>
	
	<!-- 页面底部 -->
	<div class="footer-container">
		<div id="footer_menu"></div>
	</div>
	
	<!-- 订单数据列表 -->
	<script id="shopMedicineList" type="text/html">
	   {{each list as value}}
			<a href="javascript:void(0);" class="weui-media-box weui-media-box_appmsg">
				<div class="weui-media-box__hd">
					<img class="weui-media-box__thumb" src="../images/timg.jpg" alt="">
				</div>
				<div class="weui-media-box__bd">
					<h4 class="weui-media-box__title first-p">{{value.patient_name === "" ? "李景" : value.patient_name}}</h4>
					<p class="weui-media-box__desc second-p">订单号:  {{value.indent_no}}</p>
					<p class="weui-media-box__desc last-p">{{value.create_time}}</p>
				</div>
				<div class="weui-cell__ft">
					<!-- <p class="first-p">{{value.indent_state}}</p> -->
					<p class="first-p">{{value.pay_status === "0" ? "未支付" : "已支付"}} {{value.indent_state}}</p>
					<p class="second-p">￥ : {{value.indent_total}}</p>
					<p class="last-p order-details" data-Pid={{value.prescription_id}} data-Iid={{value.indent_no}}>查看详情</p>
				</div>
			</a>
		{{/each}}
	</script>
	
	<script id="noData" type="text/html">
		<div class="weui-msgbox" style="opacity: 1; height: 100px;" id="s3">
		    <p>
		        <i class="weui-icon-info-circle"></i>暂无数据
		    </p>
		</div>
	</script>
</body>

</html>
